#include "aboutdialog.h"
#include "ui_aboutdialog.h"

ABoutDialog::ABoutDialog(QWidget *parent) : QDialog(parent),
                                            ui(new Ui::ABoutDialog)
{
    ui->setupUi(this);
    setWindowFlags(Qt::WindowCloseButtonHint | Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint);
    setWindowTitle("关于\"记事本\"");
}

ABoutDialog::~ABoutDialog()
{
    delete ui;
}

void ABoutDialog::on_pushButton_clicked()
{
    this->close();
}
